package com.xinqi.modules.sys.log.mapper;

import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinqi.common.mybatis.data.repo.SuperMapper;
import com.xinqi.modules.sys.log.domain.OperatorLogEntity;
import com.xinqi.modules.sys.log.dto.req.OperatorLogQueryDTO;
import com.xinqi.modules.sys.log.dto.rsp.OperatorLogResultDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 操作日志记录数据层
 *
 * @author: yyzhen
 * @date: 2023/08/23
 */
@Mapper
public interface OperatorLogMapper extends SuperMapper<OperatorLogEntity> {
    Page<OperatorLogResultDTO> findPage(Page<Object> page, @Param(Constants.WRAPPER) OperatorLogQueryDTO query);

}
